package com.itlong.cloud.POJO.PO;

import com.itlong.cloud.annotation.ItlField;
import com.itlong.cloud.annotation.ItlTables;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * <desc>
 *      运营-设备授权码信息表
 * </desc>
 *
 * @createDate 2019/01/16
 */
@ItlTables("device_pad_auth_code")
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class DevicePadAuthCodePO extends BasePO implements Serializable {

    @ItlField(value = "code_id",logicKey = "key")
    private String codeId;               // 逻辑主键
    @ItlField("project_id")
    private String projectId;         // 项目id
    @ItlField("em_id")
    private String emId;         // 设备emID
    @ItlField("baidu_id")
    private String baiduId;         // 百度ID
    @ItlField("baidu_auth_code")
    private String baiduAuthCode;         // 百度识别授权码
    @ItlField("use_time")
    private Date useTime;         // 使用时间
    @ItlField("use_status")
    private Integer useStatus;         // 使用状态：1未使用 2已使用 0报废
    @ItlField("device_unique")
    private String deviceUnique;         // 设备序列号

}
